class CreateTaskResults < ActiveRecord::Migration
  def self.up
    create_table :task_results do |t|
      t.string :task_type
      t.integer :task_id
      t.string :url
      t.integer :status, :default => 0
      t.integer :task_detail_type

      t.timestamps
    end
  end

  def self.down
    drop_table :task_results
  end
end
